package com.zsk.shop.enums;

/**
 * 业务类型枚举
 *
 * @author daihongchang
 * @version $Id: ServiceKeyType.java, v 0.1 2017年9月20日 下午2:47:04 daihongchang Exp $
 */
public enum ServiceKeyTypeEnum {
    USER("用户", "US"),
    GOP_USER("管理员用户", "GUS"),
    TOKEN("登录令牌", "TK"),
    ORDERS("订单", "OSP"),
    TRADE("交易号", "GSP"),
    FLOW("流水", "FLOW"),
    WITHDRAW_APPLY("提现申请", "WA"),

    R("退款", "R"),

    GOODS_CATEGORY("商品分类编号", "GC"),
    GOODS_LABEL("商品标签编号", "GL"),
    GOODS("商品", "GD"),
    GOODS_SKU("商品SKU", "GDS"),

    ORDER_POINT_NO("订单积分", "OPN"),

    ;
    /**
     * 名称
     */
    private String name;
    /**
     * 须英文字母
     */
    private String value;

    ServiceKeyTypeEnum(String name, String value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

}
